package com.dev.security.manager.beans;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 * @author 潜行的青衣
 * @see
 */
@Embeddable
public class RoleAppUnitId implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2748503607277121224L;
	
	@Column(name="role_id", length = 50)
	private String role_id;
	
	@Column(name="app_id", length = 50)
	private String app_id;

	public RoleAppUnitId() {}
	
	public RoleAppUnitId(String role_id, String app_id) {
		this.role_id = role_id;
		this.app_id = app_id;
	}
	
	public String getRole_id() {
		return role_id;
	}

	public void setRole_id(String role_id) {
		this.role_id = role_id;
	}

	public String getApp_id() {
		return app_id;
	}

	public void setApp_id(String app_id) {
		this.app_id = app_id;
	}
}
